package com.Logistics.pdusers.feign;

import com.Logistics.mycommon.pojo.pdbase.PdGoodsType;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@FeignClient(name = "service-base")
public interface PdgoodTypeFeign {

    @PostMapping("/servicebase/pd-goods-type/{name}")
    public List<PdGoodsType> goodsTypes(@PathVariable String name);
}
